package com.ccnf.model.mapper;

import com.ccnf.model.entity.CommentThumbs;
import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author developer
 * @since 2018-06-07
 */
public interface CommentThumbsMapper extends BaseMapper<CommentThumbs> {

    /**
     * 根据评论ID和用户ID更新点赞状态，是否点赞和点赞的时间
     * @param commentThumbs 点赞记录信息
     */
    Integer updateThumbsStatusByCommentIdAndUserId(CommentThumbs commentThumbs);
}
